package com.kingdee.eas.custom.bpmworkflow.cbbill.wgqr;

import javax.ejb.*;
import java.rmi.RemoteException;
import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.framework.Result;
import com.kingdee.eas.framework.LineResult;
import com.kingdee.eas.framework.exception.EASMultiException;
import com.kingdee.bos.dao.ormapping.ObjectUuidPK;

import java.lang.String;



public abstract class AbstractNewFinishConfirmBillResponseFacadeControllerBean extends AbstractBizControllerBean implements NewFinishConfirmBillResponseFacadeController
{
    protected AbstractNewFinishConfirmBillResponseFacadeControllerBean()
    {
    }

    protected BOSObjectType getBOSType()
    {
        return new BOSObjectType("A46C006C");
    }

    public String _ApproveClose(Context ctx, String strBTID, String strBOID, String procInstID, String processInstanceResult, String strComment, String dtTime, String soapHeader, String auditorNum) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("59b1a7ce-f3ed-407b-a6e5-4e0d535a90f3"), new Object[]{ctx, strBTID, strBOID, procInstID, processInstanceResult, strComment, dtTime, soapHeader, auditorNum});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)__ApproveClose(ctx, strBTID, strBOID, procInstID, processInstanceResult, strComment, dtTime, soapHeader, auditorNum);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String __ApproveClose(Context ctx, String strBTID, String strBOID, String procInstID, String processInstanceResult, String strComment, String dtTime, String soapHeader, String auditorNum) throws BOSException
    {    	
        return null;
    }

    public String _Audit(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String action, String strComment, String dtTime, String soapHeader) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("ef2b6c0c-2f5b-4949-8913-66dff85a93e7"), new Object[]{ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, action, strComment, dtTime, soapHeader});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)__Audit(ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, action, strComment, dtTime, soapHeader);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String __Audit(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String action, String strComment, String dtTime, String soapHeader) throws BOSException
    {    	
        return null;
    }

    public String _CreateResult(Context ctx, String strBTID, String strBOID, String success, String procInstID, String procURL, String strMessage, String soapHeader) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("78b1d1a9-0765-44fa-8c6d-35e2ace987aa"), new Object[]{ctx, strBTID, strBOID, success, procInstID, procURL, strMessage, soapHeader});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)__CreateResult(ctx, strBTID, strBOID, success, procInstID, procURL, strMessage, soapHeader);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String __CreateResult(Context ctx, String strBTID, String strBOID, String success, String procInstID, String procURL, String strMessage, String soapHeader) throws BOSException
    {    	
        return null;
    }

    public String _Rework(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String action, String strComment, String dtTime, String soapHeader) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("3d2c4685-fdfc-4c1c-9fd5-07126dfab743"), new Object[]{ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, action, strComment, dtTime, soapHeader});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)__Rework(ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, action, strComment, dtTime, soapHeader);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String __Rework(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String action, String strComment, String dtTime, String soapHeader) throws BOSException
    {    	
        return null;
    }

    public String _UpdateBusinessData(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String strXML, String dtTime, String soapHeader) throws BOSException
    {
        try {
            ServiceContext svcCtx = createServiceContext(new MetaDataPK("84fbcef1-680d-4d33-aebc-90b145c55cc7"), new Object[]{ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, strXML, dtTime, soapHeader});
            invokeServiceBefore(svcCtx);
            if(!svcCtx.invokeBreak()) {
            String retValue = (String)__UpdateBusinessData(ctx, strBTID, strBOID, procInstID, strStepName, strApproverId, strXML, dtTime, soapHeader);
            svcCtx.setMethodReturnValue(retValue);
            }
            invokeServiceAfter(svcCtx);
            return (String)svcCtx.getMethodReturnValue();
        } catch (BOSException ex) {
            throw ex;
        } finally {
            super.cleanUpServiceState();
        }
    }
    protected String __UpdateBusinessData(Context ctx, String strBTID, String strBOID, String procInstID, String strStepName, String strApproverId, String strXML, String dtTime, String soapHeader) throws BOSException
    {    	
        return null;
    }

}